<template>
    <div class="boxx">
        <header>
          <img class="img1" src="static/img/one.png" alt="">
          <router-link tag="div" to="/Home">首页</router-link>
          <router-link tag="div" to="/Classification">分类</router-link>
          <router-link tag="div" to="/Food">食材</router-link>
          <router-link tag="div" to="/Vidio">视频</router-link>
          <img class="img1" src="static/img/two.png" alt="">
        </header>

        <div class="content">
          <router-view></router-view>
        </div>
    </div>
</template>

<script>
export default {
  name: "Recipe",
  data() {
    return {};
  }
};
</script>

<style>

.boxx{
  display: flex;
  height: 100%;
  flex-direction: column;
  width: 100%;
}

header{
  justify-content: space-between;
  background: #ff6767;
  width: 100%;
  height: 2.6rem;
  font-size: .8rem;
  align-items: center;
  color: white;
  box-sizing: border-box;
  padding: 0 1rem;
}



.content{
  flex: 1;
  overflow: auto;
}

.img1{
  width: 1.1rem;
  height: 1rem;
  display: flex;
  align-items: center;
}

</style>
